<p>
Rails Environment: <span class="dim"><%= RAILS_ENV %></span>
</p>

<hr />
<br />
<br />

<fieldset><legend>Test Send Email</legend>
<% form_tag :action => 'test_mail' do %>
	<p>
		<label for="from" class="left_form_label">From</label> <%= text_field_tag :from_email, EVENT_EMAIL_ADDRESS %>
	</p>
	<p>
		<label for="to" class="left_form_label">To</label> <%= text_field_tag :to_email %>
	</p>
	<p>
		<label for="text" class="left_form_label">Text</label> <%= text_field_tag :text %>
	</p>
	<%= submit_tag "Send", :name => nil %>
<% end %>
</fieldset>

<br />
<hr />
<br />

<fieldset><legend>Test Raise Error</legend>
<% form_tag :action => 'test_error' do %>
	<p>
		<label for="error_message" class="left_form_label">Message</label> <%= text_field_tag :error_message %>
	</p>
	<%= submit_tag "Raise Error", :name => nil %>
<% end %>
</fieldset>
